package gth.picture.domain;

import java.util.Date;

public class Picture {
    private Integer newsId;
    private String uri;
    private String thumbUri;
    private Integer id;
    private Date insertDate;

    public Picture(String uri, String thumbUri) {
        this.uri = uri;
        this.thumbUri = thumbUri;
        insertDate = new Date();
    }

    public Integer getNewsId() {
        return newsId;
    }

    public void setNewsId(Integer newsId) {
        this.newsId = newsId;
    }

    public String getUri() {
        return uri;
    }

    public void setUri(String uri) {
        this.uri = uri;
    }

    public String getThumbUri() {
        return thumbUri;
    }

    public void setThumbUri(String thumbUri) {
        this.thumbUri = thumbUri;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Date getInsertDate() {
        return insertDate;
    }

    public void setInsertDate(Date insertDate) {
        this.insertDate = insertDate;
    }
}
